package cn.wolfcode.shop.cloud.common;

public class BusinessException extends RuntimeException {
    private CodeMsg codeMsg;
//
    public BusinessException() {
    }

    public BusinessException(CodeMsg codeMsg) {
        this.codeMsg = codeMsg;
    }

    public CodeMsg getCodeMsg() {
        return codeMsg;
    }

    public void setCodeMsg(CodeMsg codeMsg) {
        this.codeMsg = codeMsg;
    }
}
